﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Frontstage.BS_TransferLog
{
    /// <summary>
    /// BS_Transfer
    /// </summary>
    [Table("BS_Transfer")]
    public class BS_Transfer
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// Note
        /// </summary>
        public String Note { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public String UserId { get; set; }

        /// <summary>
        /// 提现信息（支付宝名称/微信OpenId）
        /// </summary>
        public String TXUserInfo { get; set; }

        /// <summary>
        /// 提款人姓名
        /// </summary>
        public String UserName { get; set; }

        /// <summary>
        /// IP信息
        /// </summary>
        public String IPInfo { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        public Decimal? Amount { get; set; }

        /// <summary>
        /// 提现时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 提现状态(0.待提现,1.成功,-1.失败)
        /// </summary>
        public Int32? State { get; set; }

        /// <summary>
        /// 提现状态(0.未知,1.支付宝,2.微信)
        /// </summary>
        public Int32 Type { get; set; }

    }
}